import { Component, Input } from '@angular/core';
import { FormDefaultComponent } from './FormDefault.component';

@Component({
    selector: 'app-form-input-textarea',
    templateUrl: './FormInputTextarea.component.html',
})
export class FormInputTextareaComponent extends FormDefaultComponent {
    @Input() cols = 80;
    @Input() rows = 6;
    @Input() countdown = false;

    constructor() {
        super();
        this.configuration.maxlength = this.configuration.maxlength || 3000;
    }
}
